package com.edu.bean;

public class Writer {
    private Integer writerid;

    private String writername;

    private String writersex;

    public Integer getWriterid() {
        return writerid;
    }

    public void setWriterid(Integer writerid) {
        this.writerid = writerid;
    }

    public String getWritername() {
        return writername;
    }

    public void setWritername(String writername) {
        this.writername = writername;
    }

    public String getWritersex() {
        return writersex;
    }

    public void setWritersex(String writersex) {
        this.writersex = writersex;
    }

    @Override
    public String toString() {
        return "Writer{" +
                "writerid=" + writerid +
                ", writername='" + writername + '\'' +
                ", writersex='" + writersex + '\'' +
                '}';
    }

    public Writer(String writername, String writersex) {
        this.writername = writername;
        this.writersex = writersex;
    }
}